import { FilterRouter } from '@/router/types';

const system: FilterRouter = {
  DeviceRemote: {
    path: 'remote/:id',
    component: 'LAYOUT',
    meta: {
      title: 'routes.system.home',
      hideMenu: true,
    },
  },
  SystemSetup: {
    path: '/systems',
    component: 'LAYOUT',
    meta: {
      title: 'routes.system.home',
    },
  },
  SetupSubAccount: {
    path: 'admin/subaccount',
    component: '/system/account/index',
    meta: {
      title: 'routes.system.admin',
    },
  },
  SetupRole: {
    path: 'sub/accounts/role',
    component: '/system/role/index',
    meta: {
      title: 'routes.system.role',
    },
  },
  SetupAuth: {
    path: 'sub/accounts/auth',
    component: '/system/account/index',
    meta: {
      title: 'routes.system.admin',
    },
  },
  SetupLogAdmin: {
    path: 'log/admin',
    component: '/system/log/index',
    meta: {
      title: 'routes.system.admin',
    },
  },
  SetupAdminMenu: {
    path: 'log/admin',
    component: '/system/menu/index',
    meta: {
      title: 'routes.system.menu',
    },
  },
};

export default system;
